<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<div class="panel charger checkForm">
	<form class="form-horizontal"  role="form" :validate="@validate">
		<div class="formCenter">

			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="col_red">*</span>被查人员证件类型：</label>
				<div class="col-sm-7">
					<select class="form-control input-sm" :duplex="@inquiryModel.cardType" :change="@changeIdType" id="idType">
						<option :for="el in @cardModel" ms-attr="{value: el.type}">{{el.name}}</option>
					</select>
				</div>
			</div>


			<div class="form-group">
				<label  class="col-sm-2 control-label"><span class="col_red">*</span>被查人员姓名：</label>
				<div class="col-sm-7 ">
					<div class="pr">
						<input type="text" id="userName" class="form-control" placeholder="请输入姓名" :duplex="@inquiryModel.userName" :rules="{required: true}" data-required-message="姓名不能为空" />
						<label class="errorTips" :visible="@errMsg.userName">{{errMsg.userName.message}}</label>
					</div>
				</div>
			</div>
			
			<div class="form-group">
				<label  class="col-sm-2 control-label"><span class="col_red">*</span>被查人员证件号码：</label>
				<div class="col-sm-7">
					<div class="pr">
						<input type="text" id="cardNum" class="form-control" placeholder="请输入被查人员证件号码" :duplex="@inquiryModel.cardNum" :rules="{required: true}" data-required-message="证件号码不能为空" />
						<label class="errorTips" :visible="@errMsg.cardNum">{{errMsg.cardNum.message}}</label>
					</div>
				</div>
			</div>
			<div class="form-group" :visible="@isIdCard()">
				<label class="col-sm-2 control-label">&nbsp;</label>
				<div class="col-sm-7">
					<div class="pr">
						<!--<input type="text" class="form-control" placeholder="请输入手机号码">
                           <label class="errorTips">错误提醒</label>   -->
						<span class="getIdInfo">
                             <a href="javascript:void(0);" :click="@readIdCard" class="getIdInfoA">获取二代身份证信息</a>
                       </span>
					</div>
				</div>
			</div>
			
			<div class="form-group">
				<label  class="col-sm-2 control-label"><span class="col_red">*</span>补打原因：</label>
				<div class="col-sm-7">
					<div class="pr">
						<textarea rows="5" id="note" class="form-control" placeholder="请输入补打原因" :duplex="@inquiryModel.note" :rules="{required: true}" data-required-message="补打原因不能为空" />
						<label class="errorTips" :visible="@errMsg.note">{{errMsg.note.message}}</label>
					</div>
				</div>
			</div>      
			
			<div style="display:none" class="form-group" id="cameraDiv">
				<label class="col-sm-2 control-label"><span class="col_red">*</span>请拍摄：</label>
				<div class="col-sm-12 text-center">
					<div class="uploadBox" style="width: 100%;">
						<!--<h5>身份证正面</h5>-->
						<div id="videoContainer" class="uploadIdPic otherPic"><b>请拍摄证明材料</b></div>
					</div>
				</div>
			</div>
			
		</div>

	</form>
</div>

<div class="text-center">
	<a href="javascript:void(0);" :click="@againPrintCreditReport" class="a-btn1">补打报告</a>
</div>
<!--end content-->